README
Files included:1. RAP.nb.html - an R Notebook file with full replication code,description of the analysis, and the output from the analysis.RMarkdown code is embedded (and extractable) for replication.2. "UN Data.zip" - UN General Debate Corpus. This is the full corpusthat we also make available on our website: http://ungd.smikhaylov.net. Zip archive should be unzipped into a workingdirectory.3. "posts_of_speakers.xlsx" - spreadsheet with available data onthree categories of speakers as discussed in the text. This shouldbe placed in the working directory.4. Replication.dta - Stata file containing replication dataset forKelley (2007). This should be placed in the working directory.Replication process:- In order to replicate the results, download the code embedded inRAP.nb.html as an Rmd file by clicking on the “Code” button at thetop right corner of the notebook html page, and selecting “DownloadRmd”. - Place Rmd file with all other files (1-4 above) in a workingdirectory.- Install the necessary packages (all packages used are listed inthe first code chunk in Rmd file that loads all packages).- Installation of some packages may require installation ofdependencies (depending on your system), follow prompts in RStudio.The same applies for working with R Markdown in RStudio — it mayrequire installation of additional packages as prompted by thesystem.- Analysis had been carried out on R version 3.3.2, using RStudioversion 1.0.44 for R Notebook, on a MacBook Pro (3 GHz, 16GB RAM).- Full session information is available in the last code chunk in RNotebook.